<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: cjqt.widgets.QWidgetSignal&lt; T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.3 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>cjqt</b></li><li class="navelem"><b>widgets</b></li><li class="navelem"><a class="el" href="classcjqt_1_1widgets_1_1_q_widget_signal.html">QWidgetSignal</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classcjqt_1_1widgets_1_1_q_widget_signal-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">cjqt.widgets.QWidgetSignal&lt; T &gt; Class Template Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for cjqt.widgets.QWidgetSignal&lt; T &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcjqt_1_1widgets_1_1_q_widget_signal.png" usemap="#cjqt.widgets.QWidgetSignal_3C_20T_20_3E_map" alt=""/>
  <map id="cjqt.widgets.QWidgetSignal_3C_20T_20_3E_map" name="cjqt.widgets.QWidgetSignal_3C_20T_20_3E_map">
<area href="classcjqt_1_1widgets_1_1_q_abstract_item_view_clicked_signal.html" alt="cjqt.widgets.QAbstractItemViewClickedSignal&lt; T &gt;" shape="rect" coords="346,56,682,80"/>
<area href="classcjqt_1_1widgets_1_1_q_action_triggered_signal.html" alt="cjqt.widgets.QActionTriggeredSignal&lt; T &gt;" shape="rect" coords="346,112,682,136"/>
<area href="classcjqt_1_1widgets_1_1_q_group_box_clicked_signal.html" alt="cjqt.widgets.QGroupBoxClickedSignal&lt; T &gt;" shape="rect" coords="346,168,682,192"/>
<area href="classcjqt_1_1widgets_1_1_q_group_box_toggled_signal.html" alt="cjqt.widgets.QGroupBoxToggledSignal&lt; T &gt;" shape="rect" coords="346,224,682,248"/>
<area href="classcjqt_1_1widgets_1_1_q_line_edit_cursor_position_changed_signal.html" alt="cjqt.widgets.QLineEditCursorPositionChangedSignal&lt; T &gt;" shape="rect" coords="346,280,682,304"/>
<area href="classcjqt_1_1widgets_1_1_q_line_edit_editing_finished_signal.html" alt="cjqt.widgets.QLineEditEditingFinishedSignal&lt; T &gt;" shape="rect" coords="346,336,682,360"/>
<area href="classcjqt_1_1widgets_1_1_q_line_edit_input_rejected_signal.html" alt="cjqt.widgets.QLineEditInputRejectedSignal&lt; T &gt;" shape="rect" coords="346,392,682,416"/>
<area href="classcjqt_1_1widgets_1_1_q_line_edit_return_pressed_signal.html" alt="cjqt.widgets.QLineEditReturnPressedSignal&lt; T &gt;" shape="rect" coords="346,448,682,472"/>
<area href="classcjqt_1_1widgets_1_1_q_line_edit_selection_changed_signal.html" alt="cjqt.widgets.QLineEditSelectionChangedSignal&lt; T &gt;" shape="rect" coords="346,504,682,528"/>
<area href="classcjqt_1_1widgets_1_1_q_line_edit_text_changed_signal.html" alt="cjqt.widgets.QLineEditTextChangedSignal&lt; T &gt;" shape="rect" coords="346,560,682,584"/>
<area href="classcjqt_1_1widgets_1_1_q_line_edit_text_edited_signal.html" alt="cjqt.widgets.QLineEditTextEditedSignal&lt; T &gt;" shape="rect" coords="346,616,682,640"/>
<area href="classcjqt_1_1widgets_1_1_q_push_button_clicked_signal.html" alt="cjqt.widgets.QPushButtonClickedSignal&lt; T &gt;" shape="rect" coords="346,672,682,696"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9fee17fccad9664fb473c80bdf5802c8"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcjqt_1_1widgets_1_1_q_widget_signal.html#a9fee17fccad9664fb473c80bdf5802c8">init</a> (String signalType, Int64 ptr, ?(Int64, CFunc&lt;(Int64, CPointer&lt; Unit &gt;) -&gt; Unit &gt;) -&gt; Unit connectCb=None)</td></tr>
<tr class="separator:a9fee17fccad9664fb473c80bdf5802c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f01170bddb2f8fe3c6acece3a651d1d"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcjqt_1_1widgets_1_1_q_widget_signal.html#a3f01170bddb2f8fe3c6acece3a651d1d">connect</a> ((T) -&gt; Unit callback)</td></tr>
<tr class="separator:a3f01170bddb2f8fe3c6acece3a651d1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afad91045072899886723a2217547663d"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcjqt_1_1widgets_1_1_q_widget_signal.html#afad91045072899886723a2217547663d">nativeConnect</a> (Int64 code, CFunc&lt;(Int64, CPointer&lt; Unit &gt;) -&gt; Unit &gt; cb)</td></tr>
<tr class="separator:afad91045072899886723a2217547663d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf931c03d9d07026dea90922fcb37af3"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcjqt_1_1widgets_1_1_q_widget_signal.html#adf931c03d9d07026dea90922fcb37af3">remove</a> ()</td></tr>
<tr class="separator:adf931c03d9d07026dea90922fcb37af3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:acbd1caef71f1830d916041b606c26b90"><td class="memItemLeft" align="right" valign="top"><a id="acbd1caef71f1830d916041b606c26b90" name="acbd1caef71f1830d916041b606c26b90"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>let ptr</b> : Int64</td></tr>
<tr class="separator:acbd1caef71f1830d916041b606c26b90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff8e151563a2d6da8347bb7a9ad7c771"><td class="memItemLeft" align="right" valign="top"><a id="aff8e151563a2d6da8347bb7a9ad7c771" name="aff8e151563a2d6da8347bb7a9ad7c771"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>let signalType</b> : String</td></tr>
<tr class="separator:aff8e151563a2d6da8347bb7a9ad7c771"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a9fee17fccad9664fb473c80bdf5802c8" name="a9fee17fccad9664fb473c80bdf5802c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9fee17fccad9664fb473c80bdf5802c8">&#9670;&nbsp;</a></span>init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public <a class="el" href="classcjqt_1_1widgets_1_1_q_widget_signal.html">cjqt.widgets.QWidgetSignal</a>&lt; T &gt;.init </td>
          <td>(</td>
          <td class="paramname"><em>signalType</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>ptr</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>connectCb</em>!:&#160;</td>
          <td class="paramtype">?(Int64, CFunc&lt;(Int64, CPointer&lt;Unit&gt;) -&gt; Unit&gt;) -&gt; Unit = <code>None</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >The Function is init constructor</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">signalType</td><td>of String </td></tr>
    <tr><td class="paramname">ptr</td><td>of Int64 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a3f01170bddb2f8fe3c6acece3a651d1d" name="a3f01170bddb2f8fe3c6acece3a651d1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f01170bddb2f8fe3c6acece3a651d1d">&#9670;&nbsp;</a></span>connect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func <a class="el" href="classcjqt_1_1widgets_1_1_q_widget_signal.html">cjqt.widgets.QWidgetSignal</a>&lt; T &gt;.connect </td>
          <td>(</td>
          <td class="paramname"><em>callback</em>:&#160;</td>
          <td class="paramtype">(T) -&gt; Unit</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >The Function is connect</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">callback</td><td>of (T)-&gt;Unit </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afad91045072899886723a2217547663d" name="afad91045072899886723a2217547663d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afad91045072899886723a2217547663d">&#9670;&nbsp;</a></span>nativeConnect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public open func <a class="el" href="classcjqt_1_1widgets_1_1_q_widget_signal.html">cjqt.widgets.QWidgetSignal</a>&lt; T &gt;.nativeConnect </td>
          <td>(</td>
          <td class="paramname"><em>code</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>cb</em>:&#160;</td>
          <td class="paramtype">CFunc&lt;(Int64, CPointer&lt;Unit&gt;) -&gt; Unit&gt;&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >The Function is nativeConnect</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">code</td><td>of Int64 </td></tr>
    <tr><td class="paramname">cb</td><td>of CFunc&lt;(Int64)-&gt;Unit&gt; </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="adf931c03d9d07026dea90922fcb37af3" name="adf931c03d9d07026dea90922fcb37af3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf931c03d9d07026dea90922fcb37af3">&#9670;&nbsp;</a></span>remove()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func <a class="el" href="classcjqt_1_1widgets_1_1_q_widget_signal.html">cjqt.widgets.QWidgetSignal</a>&lt; T &gt;.remove </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >The Function is remove </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/widgets/signal.cj</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
